package com.xcdh.ittools.wrapper;

import lombok.Data;
import org.apache.ibatis.type.JdbcType;

@Data
public class DBColumnWrapper {
    private Integer jdbcType;
    private String columnLabel;
    private String columnName;
    public DBColumnWrapper(){}
    public DBColumnWrapper(Integer jdbcType,
                           String columnLabel ,
                           String columnName){
        this.jdbcType = jdbcType ;
        this.columnLabel = columnLabel ;
        this.columnName = columnName ;

    }

    public JdbcType getJdbcType() {
        return JdbcType.forCode(jdbcType);
    }


}
